<!DOCTYPE html>
<html>
  <head>
    <title><%= title %></title>
    <link rel='stylesheet' href='/stylesheets/style.css' />
  </head>
  <body>
  	<%- include header %>
    <h1><%= title %></h1>
    <p>Welcome to <%= title %></p>

    <% if(email){ %>
    	你好,<%= email %>
    	<a href="/logout">注销</a>
    	<a href="/comment">评论</a>
    <% }else{%>
    	<a href="/login">登录</a>
    	<a href="/register">注册</a>
    <%}%>		
  </body>
</html>
